<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>店铺轮播广告</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="quanqiuchi ued">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" type="text/css" href="../bootstrap-3.3.5/dist/css/bootstrap.min.css" media="screen, projection">
    <!--     <link rel="stylesheet" type="text/css" href="../bootstrap-3.3.5/dist/css/bootstrap-theme.min.css" media="screen, projection"> -->
    <link rel="stylesheet" type="text/css" href="../js/plugins/fileinput/css/jquery.filer.css" media="screen, projection">
    <link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_1472434176_1788702.css">
    <link rel="stylesheet" type="text/css" href="../css/style.css" media="screen, projection">
</head>

<body>
    <!--右边栏 Start-->
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="page-header fm-hd">
                    <h4><span style="font-size:12px;">当前位置：店铺设置&nbsp;&gt;&nbsp;</span>店铺轮播广告</h4>
                </div>
                <!-- 店铺轮播广告 Start -->
                <!-- 上传插件例子：http://www.17sucai.com/pins/demoshow/13788 -->
                <div class="fm-body store_slide_body">
                <script id="store_slide_tpl" type="text/html">
                    <form class="form-horizontal frm-ddqr" role="form" name="storeSlideForm">
                        <div class="form-group bb1">
                            <label for="firstname" class="frm-left control-label">店铺轮播广告：</label>
                            <div class="frm-right">
                                <div class="ad-tip">此处为您的店铺首页轮播滚动广告，建议尺寸750*260像素</div>
                            </div>
                        </div>
                        <div class="form-group bb1">
                            <label for="firstname" class="frm-left control-label w200">轮播1：</label>
                            <div class="frm-right">
                                <div class="ad-photo">
                                    <div class="f-l label-name">选择图片：</div>
                                    <div class="f-l lbad w500 hidbox">
                                    	<input type="file" name="file" class="fm-fileinput1" id="fileinput1" multiple="multiple">
                                        {{if compareSize(listSize,1) }}
                                        	<input type="hidden" name="storeSlideContent[0].id" value="{{list[0].id}}">
                                        	<input type="hidden" name="storeSlideContent[0].accUrl" class="accurl" value="{{list[0].acc_url}}">
                                        	{{if list[0].acc_url}}
                                        	<div class="uploadedit">
	                                            <div class="edit-image">
	                                            	<img src="{{imgRoot}}/{{list[0].acc_url}}"/>
	                                            </div>
	                                            <div class="edit-foot">
	
	                                                 <a class="icon-jfi-trash shanchu"></a>
	                                                <div class="clearit"></div>
	                                            </div>
                                        	</div>
                                        	{{/if}}
                                        	
                                        {{else}}
                                         	<input type="hidden" name="storeSlideContent[0].id" value="">
                                        	<input type="hidden" name="storeSlideContent[0].accUrl" class="accurl" value="">
                                        {{/if}}
                                        
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="ad-link">
                                    <div class="f-l label-name">
                                      	  图片URL链接地址：
                                    </div>
                                    <div class="f-l w500">
                                    	{{if compareSize(listSize,1)}}
                                        <input type="text" name="storeSlideContent[0].url" class="form-control" value="{{list[0].url}}" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误"  placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										
                                        {{else}}
                                         <input type="text" name="storeSlideContent[0].url" class="form-control" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误"  placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										 
                                        {{/if}}
                                    </div>
                                </div>
                                <div class="clearit"></div>
                            </div>
                        </div>
                        <div class="form-group bb1">
                            <label for="firstname" class="frm-left control-label w200">轮播2：</label>
                            <div class="frm-right">
                                <div class="ad-photo">
                                    <div class="f-l label-name">选择图片：</div>
                                    <div class="f-l lbad w500 hidbox">
                                    	 <input type="file" name="file" class="fm-fileinput1" id="fileinput2" multiple="multiple">
                                    	{{if compareSize(listSize,2)}}
	                                        	<input type="hidden" name="storeSlideContent[1].id" value="{{list[1].id}}">
	                                        	<input type="hidden" name="storeSlideContent[1].accUrl" class="accurl" value="{{list[1].acc_url}}">
	                                        	{{if list[1].acc_url}}
	                                        	<div class="uploadedit">
		                                            <div class="edit-image">
		                                            	<img src="{{imgRoot}}{{list[1].acc_url}}"/>
		                                            </div>
		                                            <div class="edit-foot">
		
		                                                 <a class="icon-jfi-trash shanchu"></a>
		                                                <div class="clearit"></div>
		                                            </div>
                                        		</div>
                                        		{{/if}}
                                        {{else}}
                                         	<input type="hidden" name="storeSlideContent[1].id" value="">
                                        	<input type="hidden" name="storeSlideContent[1].accUrl" class="accurl" value="">
                                        	
                                        {{/if}}
                                       
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="ad-link">
                                    <div class="f-l label-name">
                                       	 图片URL链接地址：
                                    </div>
                                    <div class="f-l w500">
                                        {{if compareSize(listSize,2)}}
                                        <input type="text" name="storeSlideContent[1].url" class="form-control" value="{{list[1].url}}" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										
                                        {{else}}
                                         <input type="text" name="storeSlideContent[1].url" class="form-control" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										 
                                        {{/if}}
                                    </div>
                                </div>
                                <div class="clearit"></div>
                            </div>
                        </div>
                        <div class="form-group bb1">
                            <label for="firstname" class="frm-left control-label w200">轮播3：</label>
                            <div class="frm-right">
                                <div class="ad-photo">
                                    <div class="f-l label-name">选择图片：</div>
                                    <div class="f-l lbad w500 hidbox">
                                    	<input type="file" name="file" class="fm-fileinput1" id="fileinput3" multiple="multiple">
                                    	{{if compareSize(listSize,3) }}
                                        	<input type="hidden" name="storeSlideContent[2].id" value="{{list[2].id}}">
                                        	<input type="hidden" name="storeSlideContent[2].accUrl" class="accurl" value="{{list[2].acc_url}}">
                                        	{{if list[2].acc_url}}
                                        	<div class="uploadedit">
	                                            <div class="edit-image">
	                                            	<img src="{{imgRoot}}{{list[2].acc_url}}"/>
	                                            </div>
	                                            <div class="edit-foot">
	
	                                                 <a class="icon-jfi-trash shanchu"></a>
	                                                <div class="clearit"></div>
	                                            </div>
	                                        </div>
	                                        {{/if}}
                                        {{else}}
                                         	<input type="hidden" name="storeSlideContent[2].id" value="" >
                                        	<input type="hidden" name="storeSlideContent[2].accUrl" class="accurl" value="">
                                        	
                                        {{/if}}
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="ad-link">
                                    <div class="f-l label-name">
                                       	 图片URL链接地址：
                                    </div>
                                    <div class="f-l w500">
                                        {{if compareSize(listSize,3)}}
                                        <input type="text" name="storeSlideContent[2].url" class="form-control" value="{{list[2].url}}" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										
                                        {{else}}
                                         <input type="text" name="storeSlideContent[2].url" class="form-control" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										 
                                        {{/if}}
                                    </div>
                                </div>
                                <div class="clearit"></div>
                            </div>
                        </div>
                        <div class="form-group bb1">
                            <label for="firstname" class="frm-left control-label w200">轮播4：</label>
                            <div class="frm-right">
                                <div class="ad-photo">
                                    <div class="f-l label-name">选择图片：</div>
                                    <div class="f-l lbad w500 hidbox">
                                    	 <input type="file" name="file" class="fm-fileinput1" id="fileinput4" multiple="multiple">
                                    	{{if compareSize(listSize,4) }}
                                        	<input type="hidden" name="storeSlideContent[3].id" value="{{list[3].id}}">
                                        	<input type="hidden" name="storeSlideContent[3].accUrl" class="accurl" value="{{list[3].acc_url}}">
                                        	{{if list[3].acc_url}}
                                        	<div class="uploadedit">
	                                            <div class="edit-image">
	                                            	<img src="{{imgRoot}}{{list[3].acc_url}}" />
	                                            </div>
	                                            <div class="edit-foot">
	
	                                                 <a class="icon-jfi-trash shanchu"></a>
	                                                <div class="clearit"></div>
	                                            </div>
	                                        </div>
	                                        {{/if}}
                                        {{else}}
                                         	<input type="hidden" name="storeSlideContent[3].id" value="">
                                        	<input type="hidden" name="storeSlideContent[3].accUrl" class="accurl" value="">
                                        	
                                        {{/if}}
                                       
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="ad-link">
                                    <div class="f-l label-name">
                                       	 图片URL链接地址：
                                    </div>
                                    <div class="f-l w500">
                                        {{if compareSize(listSize,4)}}
                                        <input type="text" name="storeSlideContent[3].url" class="form-control" value="{{list[3].url}}" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										
                                        {{else}}
                                         <input type="text" name="storeSlideContent[3].url" class="form-control" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
										
                                        {{/if}}
                                    </div>
                                </div>
                                <div class="clearit"></div>
                            </div>
                        </div>
                        <div class="form-group bb1">
                            <label for="firstname" class="frm-left control-label w200">轮播5：</label>
                            <div class="frm-right">
                                <div class="ad-photo">
                                    <div class="f-l label-name">选择图片：</div>
                                    <div class="f-l lbad w500 hidbox">
                                    	<input type="file" name="file" class="fm-fileinput1" id="fileinput5" multiple="multiple">
                                    	{{if compareSize(listSize,5) }}
                                        	<input type="hidden" name="storeSlideContent[4].id" value="{{list[4].id}}">
                                        	<input type="hidden" name="storeSlideContent[4].accUrl" class="accurl" value="{{list[4].acc_url}}">
                                        	{{if list[4].acc_url}}
                                        	<div class="uploadedit">
	                                            <div class="edit-image">
	                                            	<img src="{{imgRoot}}{{list[4].acc_url}}" />
	                                            </div>
	                                            <div class="edit-foot">
	
	                                                 <a class="icon-jfi-trash shanchu"></a>
	                                                <div class="clearit"></div>
	                                            </div>
	                                        </div>
	                                        {{/if}}
                                        {{else}}
                                         	<input type="hidden" name="storeSlideContent[4].id" value="">
                                        	<input type="hidden" name="storeSlideContent[4].accUrl" class="accurl" value="">
                                        	
                                        {{/if}}
                                        
                                    </div>
                                </div>
                                <div class="clearit"></div>
                                <div class="ad-link">
                                    <div class="f-l label-name">
                                       	 图片URL链接地址：
                                    </div>
                                    <div class="f-l w500">
                                        {{if compareSize(listSize,5)}}
                                        <input type="text" name="storeSlideContent[4].url" class="form-control" value="{{list[4].url}}" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
									
                                        {{else}}
                                         <input type="text" name="storeSlideContent[4].url" class="form-control" datatype="/^\s*$/|/^http:\/\/[a-z,A-Z,0-9,.,_]*foodmall.com(.*?)$/" errormsg="链接地址格式错误" placeholder="链接需要使用http://开头，暂不支持站外链接"/>
							
                                        {{/if}}
                                    </div>
                                </div>
                                <div class="clearit"></div>
                            </div>
                        </div>
                        <div class="clearit"></div>
                        <div class="xzsj-btn">
                            <button class="btn btn-primary" id="commit">提交</button>
                        </div>
                        <div class="clearit"></div>
                    </form>
				</script>
                </div>
                <!-- 店铺轮播广告 End -->
            </div>
        </div>
    </div>
    <!--右边栏 End-->
    <script src="../js/modules/storeset/store.js"></script>
</body>

</html>
